package Test2;

import java.sql.Date;

public class CardRecord {
 

	private String bookName; //图书名
	public String getBookName() {
		return bookName;
	}
	public void setBookName(String bookName) {
		this.bookName = bookName;
	}
	public Integer getCardId() {
		return cardId;
	}
	public void setCardId(Integer cardId) {
		this.cardId = cardId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getBookId() {
		return bookId;
	}
	public void setBookId(Integer bookId) {
		this.bookId = bookId;
	}
	public String getTimeStart() {
		return timeStart;
	}
	public void setTimeStart(String timeStart) {
		this.timeStart = timeStart;
	}
	public String getTimeEnd() {
		return timeEnd;
	}
	public void setTimeEnd(String timeEnd) {
		this.timeEnd = timeEnd;
	}
	private Integer cardId;  //借书卡卡号
	private String name;//借书卡人名
	private Integer bookId;  //图书卡号
	private String timeStart; //借书时间
	private String timeEnd;   //还书时间
	@Override
	public String toString() {
		return "CardRecord [bookName=" + bookName + ", cardId=" + cardId + ", name=" + name + ", bookId=" + bookId
				+ ", timeStart=" + timeStart + ", timeEnd=" + timeEnd + "]";
	}
	public CardRecord(String bookName, Integer cardId, String name, Integer bookId, String timeStart, String timeEnd) {
		super();
		this.bookName = bookName;
		this.cardId = cardId;
		this.name = name;
		this.bookId = bookId;
		this.timeStart = timeStart;
		this.timeEnd = timeEnd;
	}
	public CardRecord() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	
	
}
